package com.docker.drug.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.docker.common.annotation.Excel;
import com.docker.common.core.domain.BaseEntity;

/**
 * 药品盘点对象 doctor_drug_inventory
 * 
 * @author lin
 * @date 2025-04-15
 */
public class DoctorDrugInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String inventoryOrder;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryDate;

    /** 制单人 */
    @Excel(name = "制单人")
    private String documentCreator;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private String inventoryStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setInventoryOrder(String inventoryOrder) 
    {
        this.inventoryOrder = inventoryOrder;
    }

    public String getInventoryOrder() 
    {
        return inventoryOrder;
    }

    public void setInventoryDate(Date inventoryDate) 
    {
        this.inventoryDate = inventoryDate;
    }

    public Date getInventoryDate() 
    {
        return inventoryDate;
    }

    public void setDocumentCreator(String documentCreator) 
    {
        this.documentCreator = documentCreator;
    }

    public String getDocumentCreator() 
    {
        return documentCreator;
    }

    public void setInventoryStatus(String inventoryStatus) 
    {
        this.inventoryStatus = inventoryStatus;
    }

    public String getInventoryStatus() 
    {
        return inventoryStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryOrder", getInventoryOrder())
            .append("inventoryDate", getInventoryDate())
            .append("documentCreator", getDocumentCreator())
            .append("inventoryStatus", getInventoryStatus())
            .toString();
    }
}
